﻿using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Windows.Forms;

namespace Future.CRMClient
{
    public partial class frmLogin : Future.FormBase.frmBase
    {
        public frmLogin()
        {
            InitializeComponent();
        }

        private void button_login_Click(object sender, EventArgs e)
        {
            if (AppEntry.MainForm == null)
            {
                AppEntry.MainForm = new frmMain();
            }
            AppEntry.MainForm.InitUserInterface(new Future.FormBase.StatusLable(lblLoadingInfo));
            this.DialogResult = DialogResult.OK;
            this.Close();
        }
    }
}
